<template>
  <footer class="footer">
    <div class="footer-content">
      <div class="footer-section">
        <h3>关于我们</h3>
        <p>AI工具箱致力于为用户提供优质的AI服务</p>
      </div>
      <div class="footer-section">
        <h3>联系方式</h3>
        <p>邮箱：support@example.com</p>
      </div>
      <div class="footer-section">
        <h3>友情链接</h3>
        <div class="footer-links">
          <a href="#" target="_blank">合作伙伴</a>
          <a href="#" target="_blank">帮助中心</a>
        </div>
      </div>
    </div>
    <div class="footer-bottom">
      <p>© 2024 AI工具箱 版权所有</p>
    </div>
  </footer>
</template>

<style scoped>
.footer {
  background: #1e293b;
  color: #f1f5f9;
  padding: 40px 0 20px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-section h3 {
  font-size: 18px;
  margin: 0 0 16px;
  color: #e2e8f0;
}

.footer-section p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #e2e8f0;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 0 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 16px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .footer-section p {
    font-size: 14px;
  }

  .footer-links {
    align-items: center;
  }

  .footer-bottom {
    margin-top: 30px;
    padding: 15px;
  }

  .footer-bottom p {
    font-size: 13px;
  }
}
</style> 